package com.example.flower_shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 文章管理表(Article)表实体类
 *
 * @author makejava
 * @since 2024-11-20 18:19:03
 */

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_article")
public class Article extends BaseEntity {
    //文章管理ID
    @TableId
    private Long id;
    //文章标题
    private String title;
    //作者ID
    private Long uid;
    //文章图片
    private String imageInput;
    //文章简介
    private String synopsis;
    //排序
    private Integer sort;
    //状态
    private Boolean status;
    //文章内容
    private String content;
}

